package com.jyu.utils;

public class R {

    public Boolean flag;
    public Object data;         //数据
//    public Integer code;           //状态码
//    public String msg;          //回馈信息（一般失败时使用）


    public R() {
    }

    public R(Boolean flag){
        this.flag = flag;
    }

    public R(Object data) {
        this.data = data;
    }

    public R(Boolean flag, Object data){
        this.flag = flag;
        this.data = data;
    }

//    public Result(Integer code, Object data, String msg) {
//        this.data = data;
//        this.code = code;
//        this.msg = msg;
//    }
//
//    public Result(Integer code, Object data) {
//        this.data = data;
//        this.code = code;
//    }


}
